import 'package:cbec_app/generated/json/base/json_field.dart';
import 'package:cbec_app/generated/json/goods_group_header_tab_item_entity.g.dart';
import 'dart:convert';
export 'package:cbec_app/generated/json/goods_group_header_tab_item_entity.g.dart';

@JsonSerializable()
class GoodsGroupHeaderTabItemEntity {
  bool? isShowAll = false;
  @JSONField(name: "goods_number")
  int? goodsNumber = 0;
  String? createTime = '';
  @JSONField(name: "tag_name")
  String? tagName = '';
  String? name = '';
  int? channelNum = 0;
  String? id = '';

  GoodsGroupHeaderTabItemEntity();

  factory GoodsGroupHeaderTabItemEntity.fromJson(Map<String, dynamic> json) => $GoodsGroupHeaderTabItemEntityFromJson(json);

  Map<String, dynamic> toJson() => $GoodsGroupHeaderTabItemEntityToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}
